package com.market.bean.bo.admin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;

/**
 * admin/create请求的Bo类
 * @since 2022/12/28 20:31
 * @author 2731235517@qq.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminCreateBo {
    @Length(min = 6)
    private String username;
    @Length(min = 6)
    private String password;
    private String avatar;
    private Integer[] roleIds;

}
